import React from 'react';
import { createRoot } from 'react-dom/client';
import { RouterProvider } from 'react-router-dom';
import router from '@/router';

const container = document.getElementById('root')!;
const root = createRoot(container);

root.render(
    <React.StrictMode>
        <RouterProvider router={router} fallbackElement={<p>执行初始数据加载</p>} />
    </React.StrictMode>,
);
